package com.aloda.mapper;

import com.aloda.pojo.entity.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;

/**
 * @author aloda
 * @description 针对book的数据库操作Mapper实现
 * @createDate 2024-11-14
 */
@Mapper
public interface BookMapper {

    /**
     * 根据id查询图书
     * @param id 图书id
     * @return book
     */
    Book selectBookById(Integer id);
}
